resolved the background conflict and added it to the main script