Init script asynchronously