Fixed self reference and renamed the main script