Solved a bug in action-script.php