diff --git a/lib/file-control.php b/lib/file-control.php
index f3c4f5c..183b8ed 100644
--- a/lib/file-control.php
+++ b/lib/file-control.php
@@ -30,7 +30,8 @@ if ($_GET['action']=="load") {
if ($_SESSION['userLevel'] == 10 || ($_SESSION['userLevel'] < 10 && $bannedFile==false)) {
echo '';
+ echo 'top.ICEcoder.shortURL = shortURL.substr(top.basePath.length);';
+ echo 'if (shortURL.indexOf(top.shortURLStarts)==0) {shortURL.replace(top.shortURLStarts,"")}';
$loadedFile = file_get_contents($file);
echo '","",$loadedFile).'';
} else {